package com.kingdee.eas.minghua.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class RelevantagrFactory
{
    private RelevantagrFactory()
    {
    }
    public static com.kingdee.eas.minghua.contract.IRelevantagr getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagr)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("FC58EDDA") ,com.kingdee.eas.minghua.contract.IRelevantagr.class);
    }
    
    public static com.kingdee.eas.minghua.contract.IRelevantagr getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagr)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("FC58EDDA") ,com.kingdee.eas.minghua.contract.IRelevantagr.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.contract.IRelevantagr getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagr)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("FC58EDDA"));
    }
    public static com.kingdee.eas.minghua.contract.IRelevantagr getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IRelevantagr)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("FC58EDDA"));
    }
}